package com.home.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 
 * @author ${author}
 * @email ${email}
 * @date 2024-04-20 16:22:39
 */
@Data
@TableName("apply")
public class ApplyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private String id;
	/**
	 * 宠物名称
	 */
	private String petName;
	/**
	 * 宠物id
	 */
	private String petId;
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * 用户名
	 */
	private String nickName;
	/**
	 * 住址
	 */
	private String address;
	/**
	 * 预约的医生id
	 */
	private String medicId;
	private String medicName;
	/**
	 * 预约时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date time;
	private String flag;
	/**
	 * 预约状态
	 */
	private Integer status;
	/**
	 * 病情简介
	 */
	private String petIntro;
	/**
	 * 手机号
	 */
	private String phone;
	private String height;
	private String weight;
	private String measure;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private String endTime;
	private String prescription; //用药


}
